package com.yike.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yike.user.entity.UserConsult;
import com.yike.user.param.UserConsultPageParam;

import com.yike.user.vo.UserConsultVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * 用户咨询 Mapper 接口
 *
 * @author Sakura
 * @since 2025-04-25
 */
@Mapper
public interface UserConsultMapper extends BaseMapper<UserConsult> {

    IPage<UserConsultVo> getUserConsultList(@Param("page") Page page,
                                            @Param("param") UserConsultPageParam param);

    Integer getUnreadNum();


}
